/**
 * Created by Xiaoming on 2017/9/5.
 */
angular.module('module.order')
    .controller('ShopInfoController', ShopInfoController);
ShopInfoController.$inject = ['$cookies', '$stateParams','ShopService'];
function ShopInfoController($cookies, $stateParams,ShopService) {
    var vm = this;
    $cookies.put("tag","message");
    ShopService.getShopByShopId($stateParams.shopid).$promise.then(function (data) {
        vm.shopmanange=data;
    })
}